Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ESP32-C6): Fix get_pkg_version and get_{major,minor}_chip_version (ESPTOOL-657) #867

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

xingrz
Copy link
Contributor

@xingrz xingrz commented Mar 26, 2023

Description of change

The current implementation appears to be reading the package version and chip version from the wrong efuse bits. Based on efuse_reg.h and esp_efuse_table.csv, this pull request addresses the issue.

This change fixes the following bug(s):

#866

I have tested this change with the following hardware & software combinations:

  • macOS 13.2.1 (22D68)
  • Python 3.11.2
  • ESP32-C6-DevKitM-1 V1.0

@github-actions github-actions bot changed the title fix(ESP32-C6): Fix get_pkg_version and get_{major,minor}_chip_version fix(ESP32-C6): Fix get_pkg_version and get_{major,minor}_chip_version (ESPTOOL-657) Mar 26, 2023
@radimkarnis
Copy link
Collaborator

Hi @xingrz,
thank you very much for the PR!
We'll look into this and merge if possible.

@espressif-bot espressif-bot merged commit 555458c into espressif:master Mar 27, 2023
@radimkarnis
Copy link
Collaborator

Merged, thanks for contributing!

@xingrz xingrz deleted the fix-esp32c6-rev branch March 28, 2023 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

efuse bits of pkg_version and revision seems to be wrong on ESP32-C6 (ESPTOOL-656)
3 participants